﻿@using MVCTest.Models
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body> 
        <ul>
            @*@foreach(MVCTest.Models.Student stu in (ViewBag.List as IEnumerable<MVCTest.Models.Student>))*@
            @foreach (Student stu in Model)
            {
                <li>@stu.Name</li>
            }
        </ul> 
</body>
</html>
